<?php
$site_config = function_lib::site_config();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <!-- iPhone, iPad and Android specific settings -->
        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1;">
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
        <title>[Administrator] <?php echo $site_config['configuration_title']; ?></title>

        <!-- Create an icon and splash screen for iPhone and iPad -->
        <link rel="apple-touch-icon" href="<?php echo Yii::app()->params['backendUrl']; ?>/images/iOS_icon.png">
        <link rel="apple-touch-startup-image" href="<?php echo Yii::app()->params['backendUrl']; ?>/images/iOS_startup.png">

        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->params['backendUrl']; ?>/css/all.css" media="screen">
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->params['backendUrl']; ?>/css/grid.css" media="screen">

        <!-- These stylesheets are used  -->
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->params['backendUrl']; ?>/css/theme/switcher.css" media="screen">
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->params['backendUrl']; ?>/css/theme/switcher1.php?default=switcher.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->params['backendUrl']; ?>/css/theme/switcher2.php?default=switcher.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->params['backendUrl']; ?>/css/theme/switcher3.php?default=switcher.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->params['backendUrl']; ?>/css/theme/switcher4.php?default=switcher.css" media="screen" />

        <!--[if IE 6]><link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->params['backendUrl']; ?>/css/ie6.css" media="screen" /><![endif]-->
        <!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->params['backendUrl']; ?>/css/ie.css" media="screen" /><![endif]-->

        <!-- Load JQuery -->
        <!--<script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/jquery/1.5.1/jquery.min.js"></script>-->

        <!-- Load JQuery UI -->
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/jqueryui/1.8/jquery-ui.min.js"></script>

        <!-- Load Interface Plugins -->
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/uniform/jquery.uniform.js"></script>

        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/iPhone/jquery.iphoneui.js"></script>
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/uitotop/js/jquery.ui.totop.js"></script>

        <!--
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/livevalidation/livevalidation_standalone.js"></script>
    
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/tipsy/jquery.tipsy.js"></script>
    
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/quicksand/jquery.quicksand.js"></script>
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/quicksand/custom_sorter.js"></script>
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/quicksand/dash_sorter.js"></script>
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/quicksand/jquery-css-transform.js"></script>
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/quicksand/jquery-animate-css-rotate-scale.js"></script>
    
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/tinyeditor/tinyeditor.js"></script>
    
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/DataTables/jquery.dataTables.js"></script>
    
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/slidernav/slidernav.js"></script>
    
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/jqueryFileTree/jqueryFileTree.js"></script>
    
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/fullcalendar/fullcalendar.min.js"></script>
        <script type='text/javascript' src='<?php echo Yii::app()->params['backendUrl']; ?>/js/fullcalendar/gcal.js'></script>
    
        <script type='text/javascript' src='<?php echo Yii::app()->params['backendUrl']; ?>/js/flot/excanvas.js'></script>
        <script type='text/javascript' src='<?php echo Yii::app()->params['backendUrl']; ?>/js/flot/jquery.flot.js'></script>
        <script type='text/javascript' src='<?php echo Yii::app()->params['backendUrl']; ?>/js/flot/jquery.flot.resize.js'></script>
        <script type='text/javascript' src='<?php echo Yii::app()->params['backendUrl']; ?>/js/flot/jquery.flot.pie.js'></script>
        -->

        <!-- This file configures the various jQuery plugins for Adminica. Contains links to help pages for each plugin. -->
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/adminica/adminica_ui.js"></script>
        <script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl']; ?>/js/yii.js"></script>
    </head>
    <body>
        <?php
        Yii::app()->getClientScript()->scriptMap = array(
            'jquery.min.js' => Yii::app()->params['backendUrl'] . '/js/jquery/1.5.1/jquery.min.js',
        );

        $clientScript = Yii::app()->clientScript;
        $clientScript->registerScriptFile(Yii::app()->params['backendUrl'] . '/js/jquery/1.5.1/jquery.min.js', CClientScript::POS_HEAD);
        ?>